package com.init.iblog.constants;

/**
 * 系统常量类
 * 自定义常量方便后期统一修改，以及方便辨识代码中常量所代表的含义
 */
public class SystemConstants {

    /**
     * 文章是草稿
     */
    public static final int BLOG_STATUS_DRAFT = 1;

    /**
     * 文章是正常发布状态
     */
    public static final int BLOG_STATUS_NORMAL = 0;


    /**
     * 状态正常
     */
    public static final String STATUS_NORMAL = "0";

    /**
     * 状态禁用
     */
    public static final String STATUS_DISABLE = "1";


    /**
     * 友链审核通过
     */
    public static final String LINK_AUDIT_STATUS_NORMAL = "0";
    /**
     * 友链审核未通过
     */
    public static final String LINK_AUDIT_STATUS_FAIL = "1";
    /**
     * 友链未审核
     */
    public static final String LINK_AUDIT_STATUS_NO = "2";


    /**
     * 超级管理员
     */
    public static final String SUPER_ADMIN = "1";
    /**
     * 管理员
     */
    public static final String ADMIN = "0";


    /**
     * 已删除
     */
    public static final int DELETED = 1;
    /**
     * 未删除
     */
    public static final int NOT_DELETED = 0;


    /**
     * 置顶
     */
    public static final String IS_TOP = "1";
    /**
     * 未置顶
     */
    public static final String IS_NOT_TOP = "0";


    /**
     * 允许赞赏
     */
    public static final String IS_REWARD = "1";
    /**
     * 不允许赞赏
     */
    public static final String IS_NOT_REWARD = "0";


    /**
     * 普通用户
     */
    public static final String USER = "0";
    /**
     * VIP用户
     */
    public static final String VIP_USER = "1";


    /**
     * 用户是男孩
     */
    public static final String SEX_BOY = "1";
    /**
     * 用户是女孩
     */
    public static final String SEX_GIRL = "0";
    /**
     * 用户性别保密
     */
    public static final String SEX_SECRET = "2";

    /**
     * 根评论
     */
    public static final int ROOT_COMMENT = -1;

    /**
     * 评论类型：文章评论
     */
    public static final String ARTICLE_COMMENT = "0";

    /**
     * 评论类型：友链评论
     */
    public static final String LINK_COMMENT = "1";


    /**
     * 博客浏览量
     */
    public static final String BLOG_VIEW_COUNT = "article:viewCount";

    /**
     * 菜单类型
     */
    public static final String MENU = "C";


    /**
     * 按钮类型
     */
    public static final String BUTTON = "F";


    /** 正常状态 */
    public static final String NORMAL = "0";


}
